package com.syg.logback.consts;

/**
 * @author syg
 * @version 1.0
 * @date 2021年11月24日19:14:46
 */
public enum  FileStepExeTypeEnum {
    /**
     * 探测到文件
     */
    DETECT("A101", "探测到文件（针对外部提供的文件）"),
    READ_START("A200", "文件读开始"),
    READ_END("A210", "文件读结束"),
    PROCESS_START("A220", "数据处理开始"),
    PROCESS_END("A230", "数据处理结束"),
    WRITE_START("A300", "文件写开始"),
    WRITE_END("A310", "文件写结束"),
    UPLOAD("A320", "上传文件"),
    DELETE("A900", "删除文件");

    private final String code;
    private final String desc;

    private FileStepExeTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return this.code;
    }

    public String getDesc() {
        return this.desc;
    }
}
